-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose paddle.version.show API and add doc for it #36800
Expose paddle.version.show API and add doc for it #36800
Conversation
Thanks for your contribution! |
# major: 2 | ||
# minor: 2 | ||
# patch: 0 | ||
# rc: 0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
show可以打印下编译时使用的cuda 和 cudnn的版本信息,比如:
cuda: 10.x.x
cudnn: 8.x.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
已打印cuda和cudnn信息
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PaddlePaddle#36800) * add doc for show() in paddle.version * fix format * print cuda and cudnn in show API
* add doc for show() in paddle.version * fix format * print cuda and cudnn in show API
PR types
New features
PR changes
APIs
Describe
As mentioned in PR #36556 , expose
paddle.version.show
API and add doc for it.paddle.version.show
will return the version of paddle package if it's tagged. Otherwise,paddle.version.show
will return the commit-id.link: http://10.136.157.23:8090/documentation/docs/zh/api/index_cn.html?reviewVersion=jenkins-doc-review-1577